package com.yf.service;

import com.yf.entity.AccountEntity;
import com.yf.service.BaseService;

/**
 * 账户Service接口
 *
 * @author hxf
 * @email 505860922@qq.com
 * @date Thu Aug 16 13:36:43 CST 2018
 */
public interface AccountService extends BaseService<AccountEntity>{

    /**
     * 找到用户账户，没有的话新增
     * @param userId
     * @return
     */
    AccountEntity findUserAccount(Long userId,Integer type);

}
